#!/bin/bash

dst="/home/accer2/project/rich-demo-yolo7-train/makemodel/exportOnnxRknn/coco320"
for file in `ls $1`;
do
  echo `realpath $1/$file`
  ffmpeg -i `realpath $1/$file` -vf scale=320:320 $dst/$file
done
